import { http } from '@/utils/http'

const prefix = '/dict/data'

/**
 * 查询字典数据列表
 */
export const getDictDataListAPI = async (dictType) => {
  return await http({
    url: prefix + `/list`,
    method: 'get',
    data: { dictType },
  })
}
